import Axios from "axios";

const http = Axios.create();
    // baseURL: 'http://183.6.88.43:8008'
http.interceptors.request.use(
    async (config) => {
        try {
            return config;
        } catch (error) {
            return config;
        }
    },
    (err) => {
        return Promise.reject(err);
    }
);

http.interceptors.response.use(
    (response) => {
        return response;
    },
    (error) => {
        return error;
    }
);

export default http;
